<foreach name="rules" item="vo">
<label style="margin:5px 0;padding-left:30px;float: left;width:33.3333%">
    <input <{:in_array($vo['id'],explode(',',$info['rules'])) ? 'checked' : ''}>  type="checkbox"  name="rule" value="<{$vo['id']}>">
    <span><{$vo['name']}></span>
</label>
</foreach>